<?php
//页面UF8字符编码
header("Content-Type: text/html;charset=utf-8"); 

// 引入 Medoo
require_once 'medoo.php';
 
// 实例化
$db = new medoo('kyomini');
 

$datas = $db->select("article", array(
    "id",
    "title",
    "author",
    "time"
), array(
     "id[<>]" =>array(3,5),    //注意：这是从第5数据到第3数据
     "LIMIT" => 4 , 
      "ORDER" => "id DESC", 

));


?>
<h1>列表</h1>
<?php
foreach($datas as $v)
{
  echo "<li>文章:".$v["title"]."</li>";
}

?>


